home *** CD-ROM | disk | FTP | other *** search
/ MACD 5 / MACD 5.bin / workbench / libs / intoids.lha / Intoids 1.0 / Developer / SASC / include / clib / Intoids_protos.h
C/C++ Source or Header  |  1997-02-12  |  3KB  |  65 lines

  1. #ifndef  CLIB_INTOIDS_PROTOS_H
  2. #define  CLIB_INTOIDS_PROTOS_H 1
  3.  
  4. /******************************************************************************
  5.  * $Header: Big:Programming/C/Intoids/Library/RCS/Intoids_protos.h,v 1.3 1997/02/12 16:48:51 AGMS Exp $
  6.  *
  7.  * C function prototypes for intoids.library users.
  8.  *
  9.  * Look in Intoids.c for documentation (autodocs generated from there), e-mail
  10.  * addresses and credits.  See Libraries/Intoids.h for datatypes.
  11.  *
  12.  * Intoids.library - An Amiga runtime shared code library for efficiently
  13.  * handling large and small integer values using pointer sized data fields.
  14.  *
  15.  * Modifications for storing smaller integers in 32 bit values and conversion
  16.  * to an Amiga library copyright © 1996 by Alexander G. M. Smith.
  17.  * Original long integer code copyright © 1988 Free Software Foundation.
  18.  *
  19.  * This library is free software; you can redistribute it and/or
  20.  * modify it under the terms of the GNU Library General Public
  21.  * License as published by the Free Software Foundation; either
  22.  * version 2 of the License, or (at your option) any later version.
  23.  *
  24.  * This library is distributed in the hope that it will be useful,
  25.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  26.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  27.  * Library General Public License for more details.
  28.  *
  29.  * You should have received a copy of the GNU Library General Public
  30.  * License along with this library; if not, write to the Free
  31.  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  32.  */
  33.  
  34. #ifndef  LIBRARIES_INTOIDS_H
  35. #include <libraries/Intoids.h>
  36. #endif
  37.  
  38. VOID FreeIntoid (Intoid RecycleMe);
  39. STRPTR GetLastIntoidErrorMessage (VOID);
  40. STRPTR GetIntoidsMessage (IntoidStringNumbers StringNumber);
  41. LONG SignOfIntoid (Intoid IntegerA);
  42. BOOL IntoidFitsInLong (Intoid IntegerA);
  43. LONG IntoidToLong (Intoid IntegerA);
  44. Intoid LongToIntoid (LONG LongA, Intoid RecycleMe);
  45. LONG IntoidToAscii (Intoid IntegerA, STRPTR Buffer, LONG BufferLength, UWORD Base);
  46. Intoid AsciiToIntoid (STRPTR Buffer, char **NextCharacterPntrPntr, UWORD Base, Intoid RecycleMe);
  47. Intoid CopyIntoid (Intoid IntegerA, Intoid RecycleMe);
  48. Intoid AddIntoids (Intoid IntegerA, Intoid IntegerB, Intoid RecycleMe);
  49. Intoid NegateIntoid (Intoid IntegerA, Intoid RecycleMe);
  50. Intoid AbsoluteIntoid (Intoid IntegerA, Intoid RecycleMe);
  51. Intoid SubtractIntoids (Intoid IntegerA, Intoid IntegerB, Intoid RecycleMe);
  52. LONG CompareIntoids (Intoid IntegerA, Intoid IntegerB);
  53. LONG CompareIntoidMagnitudes (Intoid IntegerA, Intoid IntegerB);
  54. Intoid MultiplyIntoids (Intoid IntegerA, Intoid IntegerB, Intoid RecycleMe);
  55. Intoid DivideIntoids (Intoid IntegerA, Intoid IntegerB, Intoid RecycleMe);
  56. ULONG PortableIntLengthViaCallBack (PortIntCallBackPntr CallBack, APTR UserPntr);
  57. ULONG PortableIntLengthViaBuffer (APTR Buffer, ULONG BufferSize);
  58. Intoid PortableIntToIntoidViaCallBack (PortIntCallBackPntr CallBack, APTR UserPntr, ULONG *AmountReadPntr, Intoid RecycleMe);
  59. Intoid PortableIntToIntoidViaBuffer (APTR Buffer, ULONG BufferSize, ULONG *AmountReadPntr, Intoid RecycleMe);
  60. BOOL IntoidToPortableIntViaCallBack (Intoid AnIntoid, ULONG *BytesWrittenPntr, PortIntCallBackPntr CallBack, APTR UserPntr);
  61. BOOL IntoidToPortableIntViaBuffer (Intoid AnIntoid, ULONG *BytesWrittenPntr, APTR Buffer, ULONG BufferSize);
  62. ULONG PortableIntSizeOfIntoid (Intoid AnIntoid);
  63.  
  64. #endif   /* CLIB_INTOIDS_PROTOS_H */
  65.